
const {ccclass, property} = cc._decorator;

@ccclass
export default class BookEvent_Dispatch 
{   
    // private static _ins:BookEvent_Dispatch;
	// public static get ins():BookEvent_Dispatch
	// {
	// 	if(!this._ins) this._ins = new BookEvent_Dispatch();
	// 	return this._ins;
    // }
   
    public static getEventObj(_eventName:string):cc.Event.EventCustom
	{
		if(!BookEvent_Dispatch.eventCustom) BookEvent_Dispatch.eventCustom = new cc.Event.EventCustom("_eventName",true);
		return BookEvent_Dispatch.eventCustom;
    }
    
	public static eventCustom:cc.Event.EventCustom = null;
	public static eventName:string = "eventName";
}

